package com.assignwork.mapper;

import com.assignwork.entity.WorkArrangeMachines;
import com.assignwork.vo.WorkArrangeMachinesVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @ClassName WorkArrangeMachinesMapper
 * @Description 配工机械Mapper
 * @Author dujianyu
 * @Date 2023/12/18 15:23
 */
public interface WorkArrangeMachinesMapper extends BaseMapper<WorkArrangeMachines> {
    /** 
     * 根据配工id返回信息
     * @param arrangeId 配工ID
     * @return List<WorkArrangeMachinesVO>
     * @author dujianyu
     * @since 2023/12/18 16:01
     */ 
    List<WorkArrangeMachinesVO> selectInfoByArrangeId(Long arrangeId);

    List<WorkArrangeMachinesVO> selectInfoByArrangeIdAndTeamId(Long arrangeId, Long teamId);
}
